﻿using Coldairarrow.Entity.PB;
using System;
using System.Collections.Generic;
using System.Text;

namespace Coldairarrow.Entity.DTO
{
    /// <summary>
    /// 新增、修改时发货通知单明细
    /// </summary>
    public class DeliveryNoticeDTO: PB_WarehousingNotice
    {
        /// <summary>
        /// 楼号ID
        /// </summary>
        public String BuildingNumberID { get; set; }
        /// <summary>
        /// 隶属项目ID
        /// </summary>
        public String ProjectId { get; set; }

        /// <summary>
        /// 工程名称
        /// </summary>
        public String ProjectName { get; set; }

        /// <summary>
        /// 机位数量
        /// </summary>
        public String StandsNums { get; set; }

        /// <summary>
        /// 工程地址
        /// </summary>
        public String ProjectAddress { get; set; }

        /// <summary>
        /// 提升方式
        /// </summary>
        public String LiftingMode { get; set; }

        /// <summary>
        /// 业务负责人
        /// </summary>
        public String Salesman { get; set; }

        /// <summary>
        /// 业务负责人联系方式
        /// </summary>
        public String Phone0 { get; set; }

        /// <summary>
        /// 架体步高
        /// </summary>
        public String StepHeight { get; set; }

        /// <summary>
        /// 接货负责人
        /// </summary>
        public String Receiver { get; set; }

        /// <summary>
        /// 接货人联系方式
        /// </summary>
        public String Phone1 { get; set; }

        /// <summary>
        /// 进场时间
        /// </summary>
        public DateTime? InDate { get; set; }

        /// <summary>
        /// 下单时间
        /// </summary>
        public DateTime? OrderDate { get; set; }

        /// <summary>
        /// 网板样式
        /// </summary>
        public String Style { get; set; }

        /// <summary>
        /// 配图Url
        /// </summary>
        public String PicUrl { get; set; }

        /// <summary>
        /// 架体颜色
        /// </summary>
        public String Color { get; set; }

        List<DeliverNoticeItems> Items { get; set; }
    }

    /// <summary>
    /// 发货清单明细
    /// </summary>
    public class DeliverNoticeItems 
    {
        /// <summary>
        /// Id
        /// </summary>
        public String Id { get; set; }

        /// <summary>
        /// 主表ID
        /// </summary>
        public String ParentId { get; set; }

        /// <summary>
        /// 物料ID
        /// </summary>
        public String MaterialId { get; set; }

        /// <summary>
        /// 物料名称
        /// </summary>
        public String MaterialName { get; set; }

        /// <summary>
        /// 理论重量
        /// </summary>
        public Double? Weight { get; set; }

        /// <summary>
        /// 单位
        /// </summary>
        public String Unit { get; set; }

        /// <summary>
        /// 设计数量
        /// </summary>
        public Int32? Nums { get; set; }

        /// <summary>
        /// 设计发货数量
        /// </summary>
        public Int32? RealNums { get; set; }

        /// <summary>
        /// 已发数量
        /// </summary>
        public Int32? ShipmentNums { get; set; }

        /// <summary>
        /// 本次发货数量
        /// </summary>
        public Int32? CurrentNums { get; set; }
    }
}
